﻿using System;

namespace OpcUaHelper.Model
{
    /// <summary>
    /// OPC 节点值Model
    /// </summary>
    public class ValueModel
    {
        /// <summary>
        /// 客户端变量标识符
        /// </summary>
        public int ClientHandle { get; set; }

        /// <summary>
        /// 变量名称
        /// </summary>
        public string Tag { get; set; } = "";

        /// <summary>
        /// 数值
        /// </summary>
        public dynamic Value { get; set; }

        /// <summary>
        /// 质量
        /// </summary>
        public string Quanlity { get; set; }

        /// <summary>
        /// 时间戳
        /// </summary>
        public DateTime? Time { get; set; }

    }
}
